﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using NUnit.Framework;

using INSTA.StockApplication.BLL;
using INSTA.StockApplication.DAL;

namespace INSTA.StockApplication.BLL.Tests
{
    [TestFixture]
    public class TestEmployee
    {
        [Test]
        public void Test_AuthentificationForFalse()
        {
            var employe = new Employee();
            Assert.IsFalse(employe.Authentification("azertyuiopqsdfghjklm","wxcvbnazerty"));
        }
        [Test]
        public void Test_AuthentificationForTrue()
        {
            var employe = new Employee();
            Assert.IsTrue(employe.Authentification("admin", "admin"));
        }
    }
}
